package com.ruoyi.yijing.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 平台信息对象 yj_platform_info
 * 
 * @author ruoyi
 * @date 2024-02-03
 */
public class YjPlatformInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 授权方 appid */
    private String authorizerAppid;

    /** 密钥 */
    @Excel(name = "密钥")
    private String appSecret;

    /** 平台名称 */
    @Excel(name = "平台名称")
    private String platformName;

    /** 商户id */
    @Excel(name = "商户id")
    private String merchantId;

    /** 接口调用令牌 */
    @Excel(name = "接口调用令牌")
    private String authorizerAccessToken;

    /** authorizer_access_token 的有效期 */
    @Excel(name = "authorizer_access_token 的有效期")
    private Long expiresIn;

    /** 令牌 */
    @Excel(name = "令牌")
    private String authorizerRefreshToken;

    /** 授权方类型(小程序：applet，公众号：allwork) */
    @Excel(name = "授权方类型(小程序：applet，公众号：allwork)")
    private String authorizerType;

    /** 绑定的公众号appid */
    @Excel(name = "绑定的公众号appid")
    private String bindAllorkappid;

    /** 绑定公众号的刷新token */
    @Excel(name = "绑定公众号的刷新token")
    private String bindRefreshToken;

    /** 状态，1有限，0无效，-1删除 */
    @Excel(name = "状态，1有限，0无效，-1删除")
    private String dataStatus;

    /** 域名 */
    @Excel(name = "域名")
    private String domainName;

    public void setAuthorizerAppid(String authorizerAppid) 
    {
        this.authorizerAppid = authorizerAppid;
    }

    public String getAuthorizerAppid() 
    {
        return authorizerAppid;
    }
    public void setAppSecret(String appSecret) 
    {
        this.appSecret = appSecret;
    }

    public String getAppSecret() 
    {
        return appSecret;
    }
    public void setPlatformName(String platformName) 
    {
        this.platformName = platformName;
    }

    public String getPlatformName() 
    {
        return platformName;
    }
    public void setMerchantId(String merchantId) 
    {
        this.merchantId = merchantId;
    }

    public String getMerchantId() 
    {
        return merchantId;
    }
    public void setAuthorizerAccessToken(String authorizerAccessToken) 
    {
        this.authorizerAccessToken = authorizerAccessToken;
    }

    public String getAuthorizerAccessToken() 
    {
        return authorizerAccessToken;
    }
    public void setExpiresIn(Long expiresIn) 
    {
        this.expiresIn = expiresIn;
    }

    public Long getExpiresIn() 
    {
        return expiresIn;
    }
    public void setAuthorizerRefreshToken(String authorizerRefreshToken) 
    {
        this.authorizerRefreshToken = authorizerRefreshToken;
    }

    public String getAuthorizerRefreshToken() 
    {
        return authorizerRefreshToken;
    }
    public void setAuthorizerType(String authorizerType) 
    {
        this.authorizerType = authorizerType;
    }

    public String getAuthorizerType() 
    {
        return authorizerType;
    }
    public void setBindAllorkappid(String bindAllorkappid) 
    {
        this.bindAllorkappid = bindAllorkappid;
    }

    public String getBindAllorkappid() 
    {
        return bindAllorkappid;
    }
    public void setBindRefreshToken(String bindRefreshToken) 
    {
        this.bindRefreshToken = bindRefreshToken;
    }

    public String getBindRefreshToken() 
    {
        return bindRefreshToken;
    }
    public void setDataStatus(String dataStatus) 
    {
        this.dataStatus = dataStatus;
    }

    public String getDataStatus() 
    {
        return dataStatus;
    }
    public void setDomainName(String domainName) 
    {
        this.domainName = domainName;
    }

    public String getDomainName() 
    {
        return domainName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("authorizerAppid", getAuthorizerAppid())
            .append("appSecret", getAppSecret())
            .append("platformName", getPlatformName())
            .append("merchantId", getMerchantId())
            .append("authorizerAccessToken", getAuthorizerAccessToken())
            .append("expiresIn", getExpiresIn())
            .append("authorizerRefreshToken", getAuthorizerRefreshToken())
            .append("authorizerType", getAuthorizerType())
            .append("bindAllorkappid", getBindAllorkappid())
            .append("bindRefreshToken", getBindRefreshToken())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("dataStatus", getDataStatus())
            .append("domainName", getDomainName())
            .toString();
    }
}
